package cn.jilian.trans.bizz.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;

import cn.jilian.common.dto.PageInfo;
import cn.jilian.common.dto.PageResult;
import cn.jilian.trans.bizz.dto.Contract;
import cn.jilian.trans.bizz.service.ContractService;
import cn.jilian.trans.bizz.service.OrderService;
import cn.jilian.trans.bizz.service.PostService;


@Service
public class ContractServiceImpl implements ContractService {

	@Autowired
	private OrderService orderService;
	
	@Autowired
	private PostService postService;
	
	@Autowired
	private JdbcTemplate jdbcTemplate;
	@Override
	public long generate(long orderId, long transId, long tplId) {
		
		
		return 0;
	}

	@Override
	public int sign(long contractId, long signerId, Map<String, Object> data, long metaId) {
		
		
		return 0;
	}

	@Override
	public Contract queryByPostId(long postId) {
		return null;
	}

	@Override
	public PageResult<Contract> queryAllContracts(PageInfo page) {
		return null;
	}

	@Override
	public PageResult<Contract> queryAllContracts(long unid, PageInfo page) {
		return null;
	}

	@Override
	public PageResult<Contract> querySupplierContracts(long unid, PageInfo page) {
		return null;
	}

	@Override
	public PageResult<Contract> queryTransContracts(long unid, PageInfo page) {
		return null;
	}

	@Override
	public PageResult<Contract> queryHandledContracts(long unid, PageInfo page, String startDate, String endDate) {
	return null;
	}

	@Override
	public PageResult<Contract> queryUnHandledContracts(long unid, PageInfo page, String startDate, String endDate) {
		return null;
	}

}
